package com.ctshk.rpc.localfun.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/4/8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class LocalFunProductSaleRecordReq implements Serializable {

    private Long id;

    private Long productId;

    private Long orderId;

    @ApiModelProperty(value = "售卖日期")
    private Date salesDate;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;

    /**
     * 1 线上 2线下
     */
    @ApiModelProperty(value = "1 线上 2线下")
    private Integer line;

    /**
     * 1:自营 2:代理商 3:官方渠道 4:第三方
     */
    @ApiModelProperty(value = "1:自营 2:代理商 3:官方渠道 4:第三方")
    private Integer channel;

    /**
     * 勾选人/部门类型(1部门，2员工) (线下自营时才需要此字段区分)
     */
    @ApiModelProperty(value = "勾选人/部门类型(1部门，2员工) ")
    private Integer checkType;

    private Long customId;

    @ApiModelProperty(value = "自定义名称")
    private String customName;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;
}
